/**
 *
 * @properties={typeid:24,uuid:"B73009E7-8FC9-48B2-9903-224860BB175D"}
 */
function Ira_resumen()
{
	//globals.mostrarForm('resumen_relacion')
	elements.grp_resumen_cuenta.visible = !elements.grp_resumen_cuenta.visible
	globals.gFechaHasta = new Date()
	globals.gFechaDesde.setDate(globals.gFechaHasta.getDate() - 30)
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"74BC2DD7-98E0-4AFF-A4E2-6D94A8C2D206"}
 */
function resumenCuenta(event) {
	if (globals.gFechaDesde != null && globals.gFechaHasta != null)
		forms.resumen_gral_ds.resumenCuentaDs(razon_social, null, 'pdf')
	else
		globals.DIALOGS.showWarningDialog('Aviso','Por favor indique las fechas','OK')
}

/**
 * Callback method for when form is shown.
 *
 * @param {Boolean} firstShow form is shown first time after load
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"704EC423-545C-4F64-B196-0BDAA5771E0D"}
 */
function onShow(firstShow, event) {
	elements.grp_resumen_cuenta.visible = false
}
